/*
* WINDOWS DISGUISER
* 
* Written by Marco Minerva, mailto:marco.minerva@gmail.com
* 
* This code is released under the Microsoft Public License (Ms-PL).
* A copy of this license is available at
* http://www.microsoft.com/opensource/licenses.mspx#Ms-PL
*/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Windows.Forms;
using System.Collections;
using System.Diagnostics;
using System.Reflection;

namespace WindowsDisguiser
{
    [RunInstaller(true)]
    public partial class Setup : Installer
    {
        public Setup()
        {
            InitializeComponent();
        }

        public override void Commit(IDictionary savedState)
        {
            base.Commit(savedState);
            //Avvia il programma appena installato.
            Process.Start(Assembly.GetExecutingAssembly().Location);
        }
    }
}